// https://vuex.vuejs.org/zh-cn/intro.html
// make sure to call Vue.use(Vuex) if using a module system
import Vue from 'vue'
import Vuex from 'vuex'
import tool from '@/utils/js/tool'

import ajaxCommon from '@/utils/service/ajaxCommon'
Vue.use(Vuex)

const store = new Vuex.Store({
  state: {
    //小程序用户信息
    userInfo:{},
  },
  getters:{
    userInfo:(state)=> state.userInfo,
  },
  mutations: {
  },
  actions:{
  }
});

export default store
